<!-- associated-add.html -->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>考试系统-试题管理</title>
		<link type="text/css" th:href="@{/css/main.css}" rel="stylesheet" />
		<link type="text/css" th:href="@{/css/table.css}" rel="stylesheet" />
		<script type="text/javascript" th:src="@{/js/jquery.js}" ></script>
	    <script type="text/javascript" th:src="@{/exam/js/associatedall-add.js}"></script>
		<style type="text/css">
			body,html{background:#fff;}
			.associatedr {
			    float:left;
			    height: 240px;
			    overflow: auto;
			}
			.hidetd{
				display:none;
			}
			/* .selectedtr{
			 	display:none;
			} */
		</style>
	</head>
	<body>
	   	<div class="associatedr">
	   		<div class="table-tool">
	           <div class="table-tool-title"><span>引用最新版本</span></div>
	        </div>
	        <div class="table-head">
	           <table id="tb_datas" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	          		<thead>
		          		<tr>
		          			<!-- <td width="8%">序号</td> -->
		          			<td width="26%">数据模块代码</td>
		          			<td width="18%">标题</td>
		          			<td width="14%">版本号</td>
		          			<td width="16%">版本类型</td>
		          			<td width="18%">版本日期</td>
		          		</tr>
	          		</thead>
	          		<tbody id="row_data">
		          		<tr th:each="row,iterStat:${rows}" th:id="${'seldm_'+row.id}" th:class="selecttr">
		          			<!-- <td th:text="${iterStat.index+1}"></td> -->
		          			<td th:text="${row.dmCode}"></td>
		          			<td th:text="${row.title}"></td>
		          			<td th:text="${row.verNo}"></td>
		          			<td th:text="${row.verType}"></td> 
		          			<td th:text="${row.issuedate}"></td>
		          			<td th:class="hidetd" th:text="${row.id}"></td>
		          		</tr>
	          		</tbody>
	           </table>
	        </div>
	        <!-- <div class="table-tool">
	           <div class="table-tool-title"><span>已选择DM列表</span></div>
	        </div>
	        <div class="table-head">
	           <table  width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	          		<thead>
		          		<tr>
		          			<td width="8%">序号</td>
		          			<td width="20%">数据模块代码</td>
		          			<td width="24%">标题</td>
		          			<td width="14%">版本号</td>
		          			<td width="16%">版本类型</td>
		          			<td width="18%">版本日期</td>
		          		</tr>
	          		</thead>
	          		<tbody id="tb_data">
	          		</tbody>
	           </table>
	        </div> -->
	   	</div>  
	</body>
</html>
